package com.itheima.ydd.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.ydd.entity.Tag;
import com.itheima.ydd.mapper.TagMapper;
import com.itheima.ydd.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements TagService{

    @Autowired
    private TagMapper tagMapper;

    @Override
    public boolean deleteById(Long id) {
        tagMapper.deleteById(id);
        return true;
    }
}




